package com.xjy.system.domain.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.*;



/**
 * 物料管理变更信息添加对象 sys_material_update
 *
 * @author zc
 * @date 2022-01-30
 */
@Data
@ApiModel("物料管理变更信息添加对象")
public class SysMaterialUpdateAddBo {


	@ApiModelProperty("项目id")
	private Long projId;

	@ApiModelProperty("项目名称")
	private String projName;

	@ApiModelProperty("物料id")
	private Long materialId;

	@ApiModelProperty("物料名称")
	@NotBlank(message = "物料名称不能为空")
	private String materialName;

	@ApiModelProperty("物料变更单号")
	@NotBlank(message = "物料变更单号不能为空")
	private String materialNo;

	@ApiModelProperty("类型:0:入库,1:借出,2:归还,3:报损,4:售卖")
	@NotBlank(message = "类型:0:入库,1:借出,2:归还,3:报损,4:售卖不能为空")
	private String materialStatus;

	@ApiModelProperty("关联借出单据单号")
	private String materialAffiliatedOddNo;

	@ApiModelProperty("物料期初库存")
	private Long startAmt;

	@ApiModelProperty("物料变更数量")
	@NotNull(message = "物料变更数量不能为空")
	private Long num;

	@ApiModelProperty("物料可用库存")
	private Long initAmt;

	@ApiModelProperty("物料账面库存")
	private Long availableStock;

	@ApiModelProperty("物料变更时间")
	private Date createTime;

	@ApiModelProperty("变更说明:简单的摘要信息，如：因物料老化报损")
	private String remark;

	@ApiModelProperty("经办人部门ID")
	private Long deptId;

	@ApiModelProperty("经办人部门名称")
	private String deptName;

	@ApiModelProperty("经办人ID")
	@NotNull(message = "经办人ID不能为空")
	private Long handlerId;

	@ApiModelProperty("经办人")
	private String handler;

	@ApiModelProperty("经办人电话")
	private String handlerPhone;

	@ApiModelProperty("预留字段1")
	private String reserveOne;

	@ApiModelProperty("预留字段2")
	private String reserveTwo;

	@ApiModelProperty("预留字段3")
	private String reserveThree;

	@ApiModelProperty("修改时间")
	private Date updateTime;
	@ApiModelProperty("删除状态 0. 正常 1. 删除")
	private Integer delFlag;
	@ApiModelProperty("审核状态 0：未审核（默认）；1：审核")
	/** 审核状态 0：未审核；1：审核（默认） */
	private Boolean auditStatus;


	@ApiModelProperty("借出单据集合")
	private List<SysMaterialUpdateReturnBo> lendList;


}
